<?php
$this->breadcrumbs=array(
	'Locals'=>array('index'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

$this->menu=array(
	array('label'=>'List Local','url'=>array('index')),
	array('label'=>'Create Local','url'=>array('create')),
	array('label'=>'View Local','url'=>array('view','id'=>$model->id)),
	array('label'=>'Manage Local','url'=>array('admin')),
);
?>

<h1>Update Local <?php echo $model->id; ?></h1>

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'local-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>50)); ?>

	<?php echo $form->textFieldRow($model,'link',array('class'=>'span5','maxlength'=>50)); ?>

	<?php echo $form->dropDownListRow($model, 'status', array(0 => 'Ẩn', 1 => 'Hiển thị'), array('class' => 'span2')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Create',
		)); ?>
	</div>

<?php $this->endWidget(); ?>